package vip.lsjscl.flowboot.workflow.model.dto;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;
import vip.lsjscl.flowboot.workflow.model.FlowDiagram;

import java.io.Serial;
import java.io.Serializable;

/**
 * 工作流保存 DTO
 * 用于接收前端提交的工作流保存信息
 *
 * @author zhangxingju
 * @date 2025/02/15
 */
@Data
public class WorkflowSaveDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private String id;
    private String name;
    private String code;
    private FlowDiagram flowData;
    // 如果需要，可以添加更多字段，如版本号、描述等
} 